[INFO] fetching crate lfest 0.6.1...
[INFO] building lfest-0.6.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate lfest 0.6.1 into /workspace/builds/worker-15/source
[INFO] validating manifest of crates.io crate lfest 0.6.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lfest 0.6.1
[INFO] finished tweaking crates.io crate lfest 0.6.1
[INFO] tweaked toml for crates.io crate lfest 0.6.1 written to /workspace/builds/worker-15/source/Cargo.toml
[INFO] crate crates.io crate lfest 0.6.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e2894a1248a15fa5693ee0e917e4bead615e9d47612d1d115ce3749a6a19b36
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3e2894a1248a15fa5693ee0e917e4bead615e9d47612d1d115ce3749a6a19b36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e2894a1248a15fa5693ee0e917e4bead615e9d47612d1d115ce3749a6a19b36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e2894a1248a15fa5693ee0e917e4bead615e9d47612d1d115ce3749a6a19b36", kill_on_drop: false }`
[INFO] [stdout] 3e2894a1248a15fa5693ee0e917e4bead615e9d47612d1d115ce3749a6a19b36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8059fe75d1f85cbd2356b72acf7a805d296daf0869442703b168f175867d8507
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8059fe75d1f85cbd2356b72acf7a805d296daf0869442703b168f175867d8507", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bstr v0.2.14
[INFO] [stderr]    Compiling rust_decimal v1.8.1
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling trade_aggregation v1.0.0
[INFO] [stderr]    Compiling lfest v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FeeType`
[INFO] [stdout]  --> src/account.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{max, min, FeeType, Margin, Order, OrderType, Position, Side};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::acc_tracker::AccTracker`
[INFO] [stdout]  --> src/exchange.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::acc_tracker::AccTracker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FeeType`, `Margin`, `Position`, `max`, `min`
[INFO] [stdout]  --> src/exchange.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     max, min, Account, Config, FeeType, Margin, Order, OrderError, OrderType, Position, Side,
[INFO] [stdout]   |     ^^^  ^^^                   ^^^^^^^  ^^^^^^                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reference_price`
[INFO] [stdout]    --> src/validator.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let (d, reference_price) = match max_idx {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_price`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/validator.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]    --> src/validator.rs:216:46
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:235:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 235 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 244 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:265:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 265 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:256:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 256 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_cancellation`
[INFO] [stdout]    --> src/acc_tracker.rs:256:19
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub(crate) fn log_limit_order_cancellation(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_fill`
[INFO] [stdout]    --> src/acc_tracker.rs:261:19
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub(crate) fn log_limit_order_fill(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.73s
[INFO] running `Command { std: "docker" "inspect" "8059fe75d1f85cbd2356b72acf7a805d296daf0869442703b168f175867d8507", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8059fe75d1f85cbd2356b72acf7a805d296daf0869442703b168f175867d8507", kill_on_drop: false }`
[INFO] [stdout] 8059fe75d1f85cbd2356b72acf7a805d296daf0869442703b168f175867d8507
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 331903ef1fe2afca0a4ad0ca3c5191d057b8bc2e53707fe421b6b1d7899e7682
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "331903ef1fe2afca0a4ad0ca3c5191d057b8bc2e53707fe421b6b1d7899e7682", kill_on_drop: false }`
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stdout] warning: unused import: `FeeType`
[INFO] [stdout]  --> src/account.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{max, min, FeeType, Margin, Order, OrderType, Position, Side};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::acc_tracker::AccTracker`
[INFO] [stdout]  --> src/exchange.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::acc_tracker::AccTracker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FeeType`, `Margin`, `Position`, `max`, `min`
[INFO] [stdout]  --> src/exchange.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     max, min, Account, Config, FeeType, Margin, Order, OrderError, OrderType, Position, Side,
[INFO] [stdout]   |     ^^^  ^^^                   ^^^^^^^  ^^^^^^                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reference_price`
[INFO] [stdout]    --> src/validator.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let (d, reference_price) = match max_idx {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_price`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/validator.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]    --> src/validator.rs:216:46
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:235:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 235 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 244 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:265:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 265 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:256:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 256 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_cancellation`
[INFO] [stdout]    --> src/acc_tracker.rs:256:19
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub(crate) fn log_limit_order_cancellation(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_fill`
[INFO] [stdout]    --> src/acc_tracker.rs:261:19
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub(crate) fn log_limit_order_fill(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand_distr v0.4.0
[INFO] [stderr]    Compiling time_series_generator v0.2.0
[INFO] [stderr]    Compiling lfest v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> examples/load_trades.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> examples/load_trades.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FeeType`
[INFO] [stdout]  --> src/account.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{max, min, FeeType, Margin, Order, OrderType, Position, Side};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::acc_tracker::AccTracker`
[INFO] [stdout]  --> src/exchange.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::acc_tracker::AccTracker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FeeType`, `Margin`, `Position`, `max`, `min`
[INFO] [stdout]  --> src/exchange.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     max, min, Account, Config, FeeType, Margin, Order, OrderError, OrderType, Position, Side,
[INFO] [stdout]   |     ^^^  ^^^                   ^^^^^^^  ^^^^^^                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tests::round`
[INFO] [stdout]    --> src/validator.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     use crate::tests::round;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reference_price`
[INFO] [stdout]    --> src/validator.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let (d, reference_price) = match max_idx {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference_price`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/validator.rs:216:31
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]    --> src/validator.rs:216:46
[INFO] [stdout]     |
[INFO] [stdout] 216 |     fn order_cost_stop(&self, order: &Order, acc: &Account) -> (f64, f64) {
[INFO] [stdout]     |                                              ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]    --> src/validator.rs:461:13
[INFO] [stdout]     |
[INFO] [stdout] 461 |         let acc = Account::new(1.0, 1.0);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:235:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 235 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 244 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:265:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 265 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/exchange.rs:256:29
[INFO] [stdout]     |
[INFO] [stdout] 228 |         let o: &Order = &self.account.active_limit_orders()[order_idx];
[INFO] [stdout]     |                          ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 256 |                             self.execute_limit(o.side, o.limit_price, o.size);
[INFO] [stdout]     |                             ^^^^               ------ immutable borrow later used here
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
[INFO] [stdout]     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/validator.rs:238:13
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let mut acc = Account::new(1.0, 1.0);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_cancellation`
[INFO] [stdout]    --> src/acc_tracker.rs:256:19
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub(crate) fn log_limit_order_cancellation(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `log_limit_order_fill`
[INFO] [stdout]    --> src/acc_tracker.rs:261:19
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub(crate) fn log_limit_order_fill(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.80s
[INFO] running `Command { std: "docker" "inspect" "331903ef1fe2afca0a4ad0ca3c5191d057b8bc2e53707fe421b6b1d7899e7682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "331903ef1fe2afca0a4ad0ca3c5191d057b8bc2e53707fe421b6b1d7899e7682", kill_on_drop: false }`
[INFO] [stdout] 331903ef1fe2afca0a4ad0ca3c5191d057b8bc2e53707fe421b6b1d7899e7682
